package com.tc.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jcd
 * @since 2025-07-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("disease_diagnosis")
@ApiModel(value = "疾病诊断对象", description = "疾病诊断")
public class Disease_diagnosis implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 国际ICD编码
     */
    @ApiModelProperty(value = "国际ICD编码")
    @TableField("icd_code")
    private String icdCode;

    /**
     * 疾病编码
     */
    @ApiModelProperty(value = "疾病编码")
    @TableField("disease_code")
    private String diseaseCode;

    /**
     * 疾病名称
     */
    @ApiModelProperty(value = "疾病名称")
    @TableField("disease_name")
    private String diseaseName;

    /**
     * 疾病分类
     */
    @ApiModelProperty(value = "疾病分类")
    @TableField("disease_category")
    private String diseaseCategory;
    
    /**
     * 逻辑删除标志（0-未删除，1-已删除）
     */
    @ApiModelProperty(value = "逻辑删除标志（0-未删除，1-已删除）")
    @TableLogic
    @TableField("deleted")
    private Integer deleted;
}
